const fs = require('fs');
const path = require('path');

var dirPath = __dirname;
fs.readdir(dirPath, (err, files) => {
    if (err) {
        console.log(err);
    } else {
        // console.log(files);
        var filePath = path.join(dirPath, './' + files[0])
        fs.unlinkSync(filePath);
    }

})

res.writeHead(200, {
    'Content-Type': 'text/html;charset=utf8'
})